﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebChatConsoleConsumer
{
    class Program
    {
        static void Main(string[] args)
        {
            WebChatDAL.WebChatDAO dao = new WebChatDAL.WebChatDAO();
            
            Console.WriteLine("Chatters");
            foreach (var item in dao.GetChatters())
            {
                Console.WriteLine("   {0}", item.aspnet_Users.UserName);
            }

            Console.WriteLine();
            Console.WriteLine("Channels");
            foreach (var item in dao.GetChannels())
            {
                Console.WriteLine("   {0}", item.ChannelName);
            }
        }
    }
}
